package com.robotserver.orders.entity;


import java.io.Serializable;

/**
 * pdd_orders
 * @author 
 */
public class PddOrders extends BaseEntity {

    /**
     * 订单编号
     */
    private String orderSn;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 商品标题
     */
    private String goodsName;

    /**
     * 商品缩略图
     */
    private String goodsThumbnailUrl;

    /**
     * 购买数量
     */
    private Integer goodsQuantity;

    /**
     * 商品单价
     */
    private Long goodsPrice;

    /**
     * 付款金额
     */
    private Long orderAmount;

    /**
     * 审核时间
     */
    private Long orderVerifyTime;

    /**
     * 成团时间
     */
    private Long orderGroupSuccessTime;

    /**
     * 最后更新时间
     */
    private Long orderModifyAt;

    /**
     * 订单生成时间
     */
    private Long orderCreateTime;

    /**
     * 支付时间
     */
    private Long orderPayTime;

    /**
     * 订单结算时间(拼多多未提供 工具计算)
     */
    private Long orderReceiveTime;

    /**
     * 订单状态： -1 未支付; 0-已支付；1-已成团；2-确认收货；3-审核成功；4-审核失败（不可提现）；5-已经结算；8-非多多进宝商品（无佣金订单）
     */
    private Integer orderStatus;

    /**
     * 订单状态描述
     */
    private String orderStatusDesc;

    /**
     * pid
     */
    private String pId;

    /**
     * 佣金金额，单位为分
     */
    private Long promotionAmount;

    /**
     * 佣金比例，千分比
     */
    private Long promotionRate;

    /**
     * 自定义参数
     */
    private String customParameters;

    /**
     * 是否是 cpa 新用户，1表示是，0表示否
     */
    private Integer cpaNew;

    /**
     * 场景工具商佣金
     */
    private Integer sceneAtMarketFee;

    /**
     * 订单状态(0订单付款 1订单结算 2订单失效 3维权退款 4无效订单[未支付等情况])
     */
    private Integer bizStatus;
    /**
     * 是否直推 1表示是，0表示否
     */
    private Integer isDirect;

    /**
     * 是否直推 1表示是，0表示否
     */
    private Integer priceCompareStatus;

    /**
     * 订单审核失败/惩罚原因
     */
    private String failReason;

    /**
     * 优势渠道专属商品补贴金额，单位为分。针对优质渠道的补贴活动，指定优势渠道可通过推广该商品获取相应补贴。补贴活动入口：[进宝网站-官方活动]
     */
    private Integer subsidyAmount;

    /**
     * 等级补贴给渠道的收入补贴，不允许直接给下级代理展示，单位为分
     */
    private Integer subsidyDuoAmountLevel;

    /**
     * 官方活动给渠道的收入补贴金额，不允许直接给下级代理展示，单位为分
     */
    private Integer subsidyDuoAmountTenMillion;

    /**
     * 订单补贴类型：0-非补贴订单，1-千万补贴，2-社群补贴，3-多多星选，4-品牌优选，5-千万神券
     */
    private Integer subsidyType;

    /**
     * 招商id
     */
    private Long zsDuoId;

    /**
     * 店铺id
     */
    private String mallId;

    /**
     * 店铺名称
     */
    private String mallName;

    @Override
    protected Serializable pkVal() {
        return this.getId();
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsThumbnailUrl() {
        return goodsThumbnailUrl;
    }

    public void setGoodsThumbnailUrl(String goodsThumbnailUrl) {
        this.goodsThumbnailUrl = goodsThumbnailUrl;
    }

    public Integer getGoodsQuantity() {
        return goodsQuantity;
    }

    public void setGoodsQuantity(Integer goodsQuantity) {
        this.goodsQuantity = goodsQuantity;
    }

    public Long getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Long goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Long getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Long orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Long getOrderVerifyTime() {
        return orderVerifyTime;
    }

    public void setOrderVerifyTime(Long orderVerifyTime) {
        this.orderVerifyTime = orderVerifyTime;
    }

    public Long getOrderGroupSuccessTime() {
        return orderGroupSuccessTime;
    }

    public void setOrderGroupSuccessTime(Long orderGroupSuccessTime) {
        this.orderGroupSuccessTime = orderGroupSuccessTime;
    }

    public Long getOrderModifyAt() {
        return orderModifyAt;
    }

    public void setOrderModifyAt(Long orderModifyAt) {
        this.orderModifyAt = orderModifyAt;
    }

    public Long getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Long orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public Long getOrderPayTime() {
        return orderPayTime;
    }

    public void setOrderPayTime(Long orderPayTime) {
        this.orderPayTime = orderPayTime;
    }

    public Long getOrderReceiveTime() {
        return orderReceiveTime;
    }

    public void setOrderReceiveTime(Long orderReceiveTime) {
        this.orderReceiveTime = orderReceiveTime;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatusDesc() {
        return orderStatusDesc;
    }

    public void setOrderStatusDesc(String orderStatusDesc) {
        this.orderStatusDesc = orderStatusDesc;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Long getPromotionAmount() {
        return promotionAmount;
    }

    public void setPromotionAmount(Long promotionAmount) {
        this.promotionAmount = promotionAmount;
    }

    public Long getPromotionRate() {
        return promotionRate;
    }

    public void setPromotionRate(Long promotionRate) {
        this.promotionRate = promotionRate;
    }

    public String getCustomParameters() {
        return customParameters;
    }

    public void setCustomParameters(String customParameters) {
        this.customParameters = customParameters;
    }

    public Integer getCpaNew() {
        return cpaNew;
    }

    public void setCpaNew(Integer cpaNew) {
        this.cpaNew = cpaNew;
    }

    public Integer getSceneAtMarketFee() {
        return sceneAtMarketFee;
    }

    public void setSceneAtMarketFee(Integer sceneAtMarketFee) {
        this.sceneAtMarketFee = sceneAtMarketFee;
    }

    public Integer getBizStatus() {
        return bizStatus;
    }

    public void setBizStatus(Integer bizStatus) {
        this.bizStatus = bizStatus;
    }

    public Integer getIsDirect() {
        return isDirect;
    }

    public void setIsDirect(Integer isDirect) {
        this.isDirect = isDirect;
    }

    public Integer getPriceCompareStatus() {
        return priceCompareStatus;
    }

    public void setPriceCompareStatus(Integer priceCompareStatus) {
        this.priceCompareStatus = priceCompareStatus;
    }

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }

    public Integer getSubsidyAmount() {
        return subsidyAmount;
    }

    public void setSubsidyAmount(Integer subsidyAmount) {
        this.subsidyAmount = subsidyAmount;
    }

    public Integer getSubsidyDuoAmountTenMillion() {
        return subsidyDuoAmountTenMillion;
    }

    public void setSubsidyDuoAmountTenMillion(Integer subsidyDuoAmountTenMillion) {
        this.subsidyDuoAmountTenMillion = subsidyDuoAmountTenMillion;
    }

    public Integer getSubsidyDuoAmountLevel() {
        return subsidyDuoAmountLevel;
    }

    public void setSubsidyDuoAmountLevel(Integer subsidyDuoAmountLevel) {
        this.subsidyDuoAmountLevel = subsidyDuoAmountLevel;
    }

    public Integer getSubsidyType() {
        return subsidyType;
    }

    public void setSubsidyType(Integer subsidyType) {
        this.subsidyType = subsidyType;
    }

    public Long getZsDuoId() {
        return zsDuoId;
    }

    public void setZsDuoId(Long zsDuoId) {
        this.zsDuoId = zsDuoId;
    }

    public String getMallId() {
        return mallId;
    }

    public void setMallId(String mallId) {
        this.mallId = mallId;
    }

    public String getMallName() {
        return mallName;
    }

    public void setMallName(String mallName) {
        this.mallName = mallName;
    }
}